Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to nil for contentInset #64

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Default to nil for contentInset #64

merged 1 commit into from
Dec 11, 2024

Conversation

hactar
Copy link
Collaborator

@hactar hactar commented Dec 10, 2024

Issue/Motivation

When we set mapViewContentInset, this sets automaticallyAdjustsContentInset to false on line 113. The current default value for automaticallyAdjustsContentInset is .zero at the moment instead of nil, so automaticallyAdjustsContentInset is always false, even if a developer is not using our mapViewContentInset.

This PR changes the default to nil, so that automaticallyAdjustsContentInset isn't affected if a developer is not using mapViewContentInset.

@hactar hactar requested a review from ianthetechie December 10, 2024 12:11
Copy link
Collaborator

@ianthetechie ianthetechie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me; thanks!

@ianthetechie ianthetechie added the release:patch Performs an automatic patch version release on merge label Dec 11, 2024
@ianthetechie ianthetechie merged commit e9ad082 into main Dec 11, 2024
2 checks passed
@ianthetechie ianthetechie deleted the hactar-patch-1 branch December 11, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:patch Performs an automatic patch version release on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants